Skip to content

ci(BS-001): CODEOWNERS and the required-check replacement - #702

Open
lazyxeon wants to merge 5 commits into
mainfrom
cursor/codeowners-required-checks-5a65
Open

lazyxeon wants to merge 5 commits into
mainfrom
cursor/codeowners-required-checks-5a65

Conversation

@lazyxeon

@lazyxeon lazyxeon commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

Refs #422.

.github/CODEOWNERS is advisory. It names @lazyxeon on /.github/, /.cargo/, /scripts/ci/, /rust-toolchain.toml, /CLAUDE.md, /GROK.md, /.cursor/rules/, /deny.toml, /AGENTS.md, /.config/nextest.toml, /Cargo.toml, /docs/scripts/generate-sitemap.sh, /scripts/aravath-sha256.sh, /scripts/check-aravath-network.sh, /scripts/check_benchmark_thresholds.ps1, /scripts/export_benchmark_history.sh, /scripts/export_benchmark_jsonl.ps1, /scripts/generate_benchmark_graphs.py, /scripts/tsan_suppressions.txt, /tools/xtask/src/fetch_assets.rs, and /tools/xtask/src/main.rs. No other ownership rule. scripts/ci/test_workflow_policy.py requires that set. It fails if /AGENTS.md is removed and if /README.md is added. Ruleset 7941616 is not edited.

#422 item 5 named these paths. Andrew decided the file does not block a merge. The issue exit that a pull request cannot merge without his review is not this ruleset change.

Description

The live required_status_checks rule on ruleset 7941616 requires Code coverage (integration 15368), CodeQL (integration 57789), and Analyze (rust) (integration 15368), with strict_required_status_checks_policy true. Those contexts do not report on pull_request.

The live pull_request rule has require_code_owner_review true. Set it to false. Leave the other parameters on that rule as they are. Keep the separate code_scanning rule (CodeQL at errors / high_or_higher, and Scorecard at the same thresholds).

PR Rust checks does report on pull_request. Check-run name PR Rust checks, app id 15368 (github-actions). Docs-only pull requests do not skip it. No workflow change.

Evidence, event pull_request:

On a push to main, PR Rust checks is skipped (if is pull_request only). Required checks read the pull-request head. Main d01720a8 shows Analyze (rust) success (app 15368) and Generate Code Coverage success. There is no check run named Code coverage or CodeQL.

Replace parameters on the required_status_checks rule with:

{
  "strict_required_status_checks_policy": true,
  "do_not_enforce_on_create": false,
  "required_status_checks": [
    {"context": "PR Rust checks", "integration_id": 15368},
    {"context": "compare", "integration_id": 15368},
    {"context": "hash (ubuntu-latest)", "integration_id": 15368},
    {"context": "hash (windows-latest)", "integration_id": 15368},
    {"context": "hash (macos-latest)", "integration_id": 15368},
    {"context": "Cargo Deny Check", "integration_id": 15368},
    {"context": "Security Audit (cargo-audit)", "integration_id": 15368},
    {"context": "pack-managed paths untracked + ignore surfaces current", "integration_id": 15368},
    {"context": "OpenSSF Scorecard Analysis", "integration_id": 15368}
  ]
}

Replace parameters on the pull_request rule with:

{
  "allowed_merge_methods": ["merge", "squash", "rebase"],
  "dismiss_stale_reviews_on_push": true,
  "require_code_owner_review": false,
  "require_extra_approval_for_unattributed_changes": true,
  "require_last_push_approval": true,
  "required_approving_review_count": 2,
  "required_review_thread_resolution": true,
  "required_reviewers": []
}

The only change from the live pull_request parameters is require_code_owner_review. The owner applies both replacements. This pull request does not edit the ruleset.

OpenSSF Scorecard Analysis requests security-events: write and uploads SARIF. A pull request from a fork does not receive that permission. The upload step has no continue-on-error, so the job fails and this required context fails with it. Same-repository pull requests are the flow this list is for.

.github/workflows/determinism-replay.yml still comments that the context is determinism-replay / compare. That string is not a check-run name. docs/current/CI_ARCHITECTURE.md lists compare. The same stale string remains in that workflow comment, docs/current/ENGINE_STATUS.md, and docs/current/AUTONOMOUS_GAMEPLAY_QA.md. Those three stay for Astranox.

Type of change

  • Documentation update
  • Bug fix
  • New feature
  • Breaking change
  • Security enhancement

Security Considerations

  • No new dependencies.
  • No user-input change.
  • CODEOWNERS is advisory. It names @lazyxeon on the paths above. The owner sets require_code_owner_review to false on the pull_request rule. This pull request does not edit ruleset 7941616.
  • No sensitive data.
  • No new network protocol.

Report

  1. Head SHA: c5eb285add3c1ea1eeb093c492744b98ccc93199. CI on this SHA has not been recorded here yet.
  2. Commands run, and their exit codes:
    • python3 scripts/ci/test_workflow_policy.py — exit 1 (39/40; test_benchmark_alert_issue_runs_after_failed_regression_check needs pwsh, same as base)
    • python3 -m unittest scripts.ci.test_workflow_policy.WorkflowPolicyTest.test_codeowners_is_only_the_policy_paths — exit 0
    • actionlint 1.7.12 — exit 1. Two findings, both the custom gpu runner label, on .github/workflows/allocation-measurement.yml:169 and .github/workflows/gpu-frame-budget.yml:31. Those workflow files are unchanged from main.
    • bash scripts/ci/player_facing_names.sh — exit 0
    • cargo run -p aw_doc_lint -- --mode warn — exit 0 (doc-truth lint: clean (K=0 un-allowlisted))
  3. Not run, and why: workspace run-gate.sh / run-tests.sh and cargo test -p astraweave-core --test replay_hash. No hashed crate, render crate, or Cargo.toml behavior changed. The ruleset was not edited.
  4. Measurements: not measured.
  5. Replay hashes: unchanged.
  6. Deferred issue links: none.

Checklist

  • Policy test covers the CODEOWNERS set, including a missing-path mutant and an extra-path mutant
  • docs/current/CI_ARCHITECTURE.md required-check JSON matches the JSON above, and the pull_request parameters set require_code_owner_review to false
  • Policy test, player-facing names, and doc-truth warn passed. actionlint 1.7.12 exits 1 on the unchanged gpu label.
Open in Web Open in Cursor 

Copilot AI balanced review requested due to automatic review settings November 6, 2026 12:54
@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-06T12:56:42.930375Z ed57ac0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a clearance at ed57ac0d79ee894857041f4890b478856ff99572. Not a ☠. Not green. Three files. No workflow edit, no lockfile, no hashed crate. The nine proposed check contexts match the check runs I pulled. The CODEOWNERS set is not the set in #422 item 5, and the new test fails if that item's CLAUDE.md line is added.

Owner file. #422 item 5 names deny.toml, .cargo/audit.toml, .github/workflows/, AGENTS.md, CLAUDE.md, GROK.md, .github/copilot-instructions.md, and .cursor/rules/. This file has .github/workflows/**, deny.toml, AGENTS.md, and .github/CODEOWNERS. .github/workflows/** matches ci.yml under gitignore rules, which CODEOWNERS follows. cargo audit in security-audit.yml is run: cargo audit with no --ignore; the ignore list it still applies is .cargo/audit.toml. The Linux replay rustflags are in .cargo/config.toml ([target.x86_64-unknown-linux-gnu], target-cpu=x86-64). The hash job's toolchain is .github/actions/rust-ci-setup (dtolnay/rust-toolchain@master, default 1.89.0). Deny and audit binaries come from .github/scripts/install-prebuilt-cargo-tool.sh. None of those paths are owned. GitHub loads .github/CODEOWNERS before a root or docs/ CODEOWNERS, and a pull request uses the base-branch file, so a second file does not replace this one.

Enforcement. Ruleset 7941616 already has require_code_owner_review, required_approving_review_count 2, and bypass_actors null. The collaborator list is only @lazyxeon. An author cannot approve their own pull request, so this sole owner cannot satisfy code-owner review on a pull request he opened. #651 merged at 2026-11-06T12:45:02Z, and #699 merged, with no review in state APPROVED (#699 reviewDecision was REVIEW_REQUIRED). The #422 exit, a pull request that touches those paths cannot merge without his review, is not what that merge record shows.

Required checks. Ruleset 7941616 still requires Code coverage (15368), CodeQL (57789), and Analyze (rust) (15368), with strict_required_status_checks_policy true. On f2949be1 (#700), 58621da5 (#597), 7e654a11 (#616), and 7a628eac (#645), each of the nine proposed contexts completed success at app id 15368, and those three contexts were absent. Check run 127583654852 is PR Rust checks success on f2949be1. Check run 123771336889 is the same on 58621da5. On main d01720a8, Analyze (rust) and Generate Code Coverage succeeded, PR Rust checks was skipped, and no check run was named Code coverage or CodeQL. The check-run name is compare. The code_scanning rule is a different rule (CodeQL and Scorecard alert thresholds). Replacing required_status_checks parameters leaves it in place. coverage.yml does not run on pull_request, and Generate Code Coverage is continue-on-error: true.

Determinism. determinism-replay.yml is unchanged: nineteen required cases, target-cpu=x86-64 on x86_64, aarch64 on the default baseline. Aravath Replay hash (${{ matrix.os }}) stays off the require list on purpose. That job exits 0 in Unaffected diff when aravath_runtime is out of scope, so requiring the name would not hash. Replay hashes were not re-run. Expected unchanged.

This diff's CI class. scripts/ci/test_workflow_policy.py is unmapped in affected_crates.py, so this pull request is full=true. A CODEOWNERS-only diff would be no-crate-files (fmt gate). The policy test does run in Gate, before that classification matters.

Report

  1. Head ed57ac0d79ee894857041f4890b478856ff99572. Not green. On this SHA at review time, Security Audit (cargo-audit), doc-truth warn, and the docs build had passed. Cargo Deny, Scorecard, pack guard, and the three hash jobs were still pending. compare had not started.
  2. Commands: python3 scripts/ci/test_workflow_policy.py exit 0 (39). bash scripts/ci/player_facing_names.sh exit 0. git check-ignore on the four patterns. The live assert_codeowners raises on a missing AGENTS.md line and on an added CLAUDE.md line. The if False and rules != expected copy returns on both.
  3. Not run: cargo test -p astraweave-core --test replay_hash (no hashed crate; the replay workflow bytes are unchanged). Local cargo run -p aw_doc_lint (the doc-truth warn check on this SHA already passed). GPU frame budget: not measured. This VM cannot measure the 1660 Ti.
  4. Measurements: not measured.
  5. Replay hashes: unchanged (expected; not re-run).
  6. Deferred issue links: none.
Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

Comment thread .github/CODEOWNERS Resolved
Comment thread .github/CODEOWNERS Resolved
Comment thread scripts/ci/test_workflow_policy.py Resolved
Comment thread docs/current/CI_ARCHITECTURE.md Resolved
Comment thread docs/current/CI_ARCHITECTURE.md Resolved
Comment thread docs/current/CI_ARCHITECTURE.md Resolved
Comment thread .github/CODEOWNERS Outdated
@@ -0,0 +1,5 @@
# @lazyxeon owns these policy paths. No other ownership rule.
.github/workflows/** @lazyxeon
Comment thread .github/CODEOWNERS Outdated
@@ -0,0 +1,5 @@
# @lazyxeon owns these policy paths. No other ownership rule.
.github/workflows/** @lazyxeon
deny.toml @lazyxeon

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correction to the lead sentence of review 5800451618: the mark after "Not a clearance" was meant as the constitution stop-list in AGENTS.md. This diff does not trip one. The six inline findings stand.

Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the scoped code ownership and CI documentation changes.

No open issues 🎉

What changed in this PR

Adds scoped code ownership and documents the required-check replacement for the CI backstops tracked in #422. The live ruleset remains unchanged and requires a separate owner action.

Changes:

  • Assigns @lazyxeon ownership of workflows, deny.toml, AGENTS.md, and CODEOWNERS itself.
  • Adds policy tests enforcing exactly those four ownership rules, including missing-path and extra-path cases.
  • Documents nine replacement check contexts and corrects the documented replay check name to compare.

Verification report:

  1. Head SHA: ed57ac0d79ee894857041f4890b478856ff99572 (from the PR description; check status not independently verified).
  2. Commands run: None during this review. The PR reports policy tests, player-facing-name checks, and documentation lint each exited 0.
  3. Not run: Tests, builds, and linters; execution was restricted for this review.
  4. Measurements: Not measured.
  5. Replay hashes: Reported unchanged; not independently verified. No simulation code changed.
  6. Deferred issue links: None reported.
File Description
scripts/​ci/​test_workflow_policy.py Enforces the exact CODEOWNERS policy and tests rejected mutations.
docs/​current/​CI_ARCHITECTURE.md Documents replacement required checks, supporting evidence, and owner application.
.github/​CODEOWNERS Adds ownership rules for the four selected policy paths.

Review effort: Balanced

lazyxeon commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Devastation (T3 D-CI) @ ed57ac0d: no findings. Non-blocking.

Report: https://cursor.com/agents/bc-c7cf9c64-02f1-5e5b-9c43-3736d1c1ac22

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking at ed57ac0d79ee894857041f4890b478856ff99572. This head is 3 commits behind main ee337b9d and has merge conflicts, so it needs a re-clear after the rebase. Andrew approved the CODEOWNERS and required-checks direction. The findings below are about scope, not direction.

The diff does what the body says. It adds 4 owner rules and a policy test that fixes the rule set exactly, and it documents the 9-context replacement. I found no hang in the 9 contexts. None of the 5 workflows has a paths: filter, PR Rust checks runs always() on pull_request, hash/compare have no skip if:, and compare is the real check-run name.

Blocking:

  1. .github/CODEOWNERS:2-5: the owned set leaves out paths that change what the required checks run or report. Own them as well: /.github/ (covers actions/**, scripts/**, dependabot.yml, benchmark_thresholds.json, rust-nightly-channel, CODEOWNERS), /.cargo/, /scripts/ci/, /rust-toolchain.toml, /CLAUDE.md, /GROK.md, /.cursor/rules/, plus the existing /deny.toml and /AGENTS.md (root-anchored). That matches #422 item 5 and the open cursor[bot]/code-scanning threads on lines 2-3.
  2. scripts/ci/test_workflow_policy.py:150-155: CODEOWNERS_PATHS has to match the expanded file. As written, the exact-match test fails if any of the paths in item 1 is added (I checked with .cargo/audit.toml). Keep the missing-path and extra-path mutants.
  3. Required-check gap, .github/workflows/ci.yml:100: PR Rust checks passes without compile jobs when scripts/ci/affected_crates.py reports docs-only or no crates. Item 1's /scripts/ci/ ownership closes it. No further change is needed beyond that.

Owner action (not code): this PR's author and the only code owner are the same account (lazyxeon). Ruleset 7941616 has to be set up so code-owner review is actually enforceable for these PRs before CODEOWNERS is relied on. Details were sent privately.

Non-blocking:

  • OpenSSF Scorecard Analysis needs security-events: write. A fork PR would fail it and couldn't merge. That's fine for a same-repo-only flow, but it should be documented in docs/current/CI_ARCHITECTURE.md near line 202.
  • The stale context string determinism-replay / compare is still in .github/workflows/determinism-replay.yml:1, docs/current/ENGINE_STATUS.md:185 and docs/current/AUTONOMOUS_GAMEPLAY_QA.md:113. That's @Astranox's call.
  • CI_ARCHITECTURE.md:207 should say to keep the separate code_scanning rule (CodeQL and Scorecard alert gate) when CodeQL is dropped from the status-check contexts.
  • The PR body is accurate on the facts it reports: 39 tests, and the check-run evidence matches cursor[bot]'s re-pull. But Refs #422 leaves item 5 open, and the body doesn't mention it.

Verification (light, pre-rebase): python3 -m unittest scripts/ci/test_workflow_policy.py passes 39 tests. All 5 mutants were caught: removing the deny.toml line, swapping the AGENTS.md owner, adding .cargo/audit.toml (the desired fix fails today), early return in assert_codeowners, and narrowing to .github/workflows/*.yml. Heavy tests were deferred to after the rebase.

Threads: cursor[bot] has 6 open inline threads (CODEOWNERS:2 and :3, test:935, CI_ARCHITECTURE.md:185, :202 and :207), with no replies. github-advanced-security has 2 (CODEOWNERS:2 and :3). Copilot has none. cursor[bot] last reviewed this head (5800451618). All 46 checks at this head passed, were skipped or were neutral, but they predate the conflict.

cursoragent and others added 2 commits November 10, 2026 00:37
Name @lazyxeon on workflows, deny.toml, AGENTS.md, and CODEOWNERS.
The policy test rejects a missing path and an extra path. Record the
ruleset 7941616 replacement from check runs that report on pull_request,
including docs-only.

Refs #422

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
Name @lazyxeon on the root-anchored paths that change what the required
checks run or report. The policy test matches that set. The ruleset
instruction sets require_code_owner_review to false. Andrew applies it.

Refs #422

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/codeowners-required-checks-5a65 branch from ed57ac0 to 2077bb0 Compare November 10, 2026 00:42

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clear at 2077bb0010438e86cc7121937c25cf62f2840b00. My blockers from 5834866509 are resolved, with CODEOWNERS now advisory per Andrew's decision. The head is 1 commit behind main 604d35d1 (#728), and it'll need another update after #729. Each branch update needs a merge-only re-clear.

What changed: ed57ac0d→b45289a1 is a clean rebase, and range-diff shows only the context line of the adjacent test. 2077bb00 touches only the 3 PR files. There are no workflow changes, and none of the 5 workflows behind the 9 required contexts changed on main since ed57ac0d's base.

Advisory wording:

  • .github/CODEOWNERS:1 and docs/current/CI_ARCHITECTURE.md:187 say advisory and that the file doesn't block a merge. The PR body says the same.
  • CI_ARCHITECTURE.md:213-227 and the body tell the owner to set require_code_owner_review to false, leaving the other pull_request parameters as they are.
  • CI_ARCHITECTURE.md:211 and :227 keep the code_scanning rule.
  • The 9-context JSON is identical in the body, at CI_ARCHITECTURE.md, and in the Require: list.

Policy test:

  • CODEOWNERS_PATHS (scripts/ci/test_workflow_policy.py:162-172) matches the file's 9 root-anchored rules exactly, in order. The test also asserts the advisory line.
  • python3 -m unittest scripts/ci/test_workflow_policy.py passes 40 tests.
  • All 8 of my mutants were caught:
    • dropping /scripts/ci/
    • dropping /.cargo/
    • adding /docs/
    • unanchoring .cargo/
    • deleting the advisory line
    • adding a second owner on /deny.toml
    • dropping /GROK.md from the test tuple
    • swapping two rules

Required checks: I still found no gap. None of the 9 contexts sits behind a paths: filter. PR Rust checks runs always() on every pull_request, and ci.yml:466-485 requires changes and gate success plus every compile job unless the PR is docs-only or touches no crates. hash/compare have no skip if:. With CODEOWNERS advisory, changes to the workflows and CI scripts are gated by reviewer clears, per the owner's decision.

Threads: all 6 cursor[bot] threads have replies at this head.

  • Fixed in code: 4492701294 (paths), 4492701318 (test set), 4492701335 (code_scanning).
  • Documented: 4492701339 (fork Scorecard, CI_ARCHITECTURE.md:209).
  • Owner decision: 4492701299 (sole owner; resolved by advisory and require_code_owner_review: false).
  • Not fixed in code: 4492701327. The stale determinism-replay / compare is still in .github/workflows/determinism-replay.yml:1, docs/current/ENGINE_STATUS.md:185 and docs/current/AUTONOMOUS_GAMEPLAY_QA.md:113. It was deferred to @Astranox, as my last review allowed. Please land it before Andrew applies the ruleset swap, so nobody requires a context that never reports. The 2 code-scanning threads on CODEOWNERS:2 and :3 are addressed by the expanded paths.

Non-blocking: CI_ARCHITECTURE.md (the Require: notes, already in place, not this diff) says a skipped required check blocks the merge. GitHub treats a skipped job as passing, so @Astranox should correct that.

State: CI is queued or in progress (1/18 done), and none of the 9 required contexts has completed. cursor[bot] posted only the thread replies at this head. Its audit run was still in progress. Merge needs cursor[bot] at head, green CI, @Astranox's docs clear, and my merge-only re-clear after the update.

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs: blocking at 2077bb0.

Docs review of the whole PR diff at 2077bb0010438e86cc7121937c25cf62f2840b00, which has 3 files and 2 commits over ee337b9d. I also read the PR body, all cursor[bot], code-scanning and Astraea threads and reviews, live ruleset 7941616, the on: triggers and job name: values of every workflow at head, and the check runs on f2949be1 (#700), 58621da5 (#597), 7e654a11 (#616), 7a628eac (#645) and main d01720a8. The workflow policy suite passes at head, 40 tests.

What holds:

  • The nine contexts are all real. Each one is the name: of a job that runs on pull_request to main at head, with no paths: filter and no skip on PRs. They are PR Rust checks (ci.yml), hash (ubuntu-latest), hash (windows-latest) and hash (macos-latest) plus compare (determinism-replay.yml), Cargo Deny Check and Security Audit (cargo-audit) (security-audit.yml), pack-managed paths untracked + ignore surfaces current (pack-guard.yml) and OpenSSF Scorecard Analysis (scorecard.yml). All nine completed success at app 15368 on all four cited PR heads.
  • No phantom check in the swap. The JSON and the list in CI_ARCHITECTURE.md, lines 191–207 and 229–239, say compare, not determinism-replay / compare.
  • The three dropped contexts are described correctly. The live ruleset requires Code coverage (15368), CodeQL (57789) and Analyze (rust) (15368), with strict mode true. None of them reports on pull_request: coverage.yml and codeql-analysis.yml run on push to main and on schedule only. On d01720a8, Analyze (rust) and Generate Code Coverage succeeded, PR Rust checks was skipped, and there is no Code coverage or CodeQL check run.
  • The CODEOWNERS path lists match. CODEOWNERS lines 3–11, CI_ARCHITECTURE.md line 187, PR body line 4 and CODEOWNERS_PATHS in the policy test all list the same nine root-anchored paths in the same order. The advisory wording is consistent across the CODEOWNERS header, CI_ARCHITECTURE.md line 187 and PR body lines 4, 6 and 76.
  • The ci.yml cite holds. The ci.yml:122 cite on CI_ARCHITECTURE.md line 241 points at the if: of the Rust CI setup step, as stated.

Blocking

  1. CI_ARCHITECTURE.md, lines 213–227: the "live object" is not the live object. Live ruleset 7941616's pull_request rule also has "required_review_thread_resolution": true, and the JSON leaves it out. Because the instruction is to replace parameters, applying it would quietly turn off required thread resolution. That makes line 227 ("The only change from the live pull_request parameters is require_code_owner_review") false, and it contradicts line 187 ("leave the other parameters on that rule as they are").
    • Fix: add "required_review_thread_resolution": true, to the JSON between "required_approving_review_count": 2, and "required_reviewers": [].
    • Then: re-read the live rule and confirm the object has exactly the live key set, all 8 keys.
  2. PR body, lines 44–58: same omission in the copy Andrew will apply from. It has the same seven-key object and the same false "only change" sentence.
    • Fix: add the same "required_review_thread_resolution": true, line, so the body and CI_ARCHITECTURE.md stay byte-identical.
  3. CI_ARCHITECTURE.md, line 241, in the Required status checks section this PR edits: wrong cause. The line says "a skipped required check blocks the merge." GitHub counts a job skipped by its job-level if: as passing for a required check. It is a missing context, never reported, that leaves a PR pending. On #700's docs-only head f2949be1, the skipped partitions reported only under their unexpanded names, Test (ubuntu, ${{ matrix.partition }}/3) and Test (windows, ${{ matrix.partition }}/3).
    • Fix: replace the second sentence of that line ("On a docs-only pull request the archive and partition jobs are skipped, and a skipped required check blocks the merge.") with:

      On a docs-only pull request the archive and partition jobs are skipped by their job if:. GitHub counts a skipped required check as passing, so requiring them would not catch a failed archive build: the partitions behind it are skipped too. A skipped matrix job also reports only its unexpanded name, such as Test (ubuntu, ${{ matrix.partition }}/3), so Test (ubuntu, 1/3) would never report and would leave every pull request pending.

    • Keep: the rest of the line as is.

Required follow-ups (not in this PR's sections; I'll take the docs ones)

  • CI_ARCHITECTURE.md, line 53, Tiers section, not edited here: same wrong sentence. It reads "GitHub treats a skipped required check as missing, which blocks the merge." Replace it with:

    GitHub counts a job skipped by its if: as passing, so a required heavy job would pass on any skip, including after a failed archive build. A skipped matrix job reports only its unexpanded name, so the per-partition names would never report.

    I'll open this as a docs PR after #702 merges, unless Astrix prefers to fold it in here.

  • Stale determinism-replay / compare strings from cursor[bot] thread 4492701327. They tell a reader to require a context that never reports. They are not part of the ruleset swap, so they're not blocking here.

    • ENGINE_STATUS.md, line 185 and AUTONOMOUS_GAMEPLAY_QA.md, line 113 should say compare and point to CI_ARCHITECTURE.md for the list. These are mine, as PR body line 62 says.
    • The comment on determinism-replay.yml, line 1 should say "Required status check on pull requests: compare". It's a workflow file, so it needs Astraea's clear.
    • COMBAT_DAMAGE_SYSTEM_DESIGN.md, line 1083 and CLAIMS_REGISTRY.md, line 249 record past runs and can stay.

Non-blocking

  • CI_ARCHITECTURE.md, line 209 and PR body, line 60: the fork Scorecard claim is unverified. They say a fork PR's Scorecard upload fails. That follows from the read-only fork token, but codeql-action has its own fork-PR handling for SARIF uploads, and nobody has opened a fork PR to test it. Suggest "is expected to fail on a fork pull request (not yet tested on one)" in place of "fails".
  • PR body, line 6: hard to parse. Suggest: "#422 item 5's exit (a pull request touching these paths cannot merge without Andrew's review) no longer applies, since CODEOWNERS is advisory. Update that exit on #422."
  • Wording, optional. Astraea asked for the literal phrase "advisory, not required". The meaning is already consistent everywhere. If you want the literal phrase, CI_ARCHITECTURE.md line 187 and PR body line 4 can open with ".github/CODEOWNERS is advisory, not required."
  • CHANGELOG: no entry expected. CHANGELOG.md [Unreleased] is a monthly backfill, last touched by #533. It has no 2026-11 section, and CONTRIBUTING, AGENTS and CLAUDE set no per-PR changelog rule.
  • Branch update. The body says it is rebased onto ee337b9d. Main is now 604d35d1, and the branch needs another update after #729. I'll re-clear the docs on the new head.

Add required_review_thread_resolution to the ruleset copy-paste object so
replacing parameters only flips require_code_owner_review. Correct GitHub
skipped-required-check semantics on lines 53 and 241.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
@cursor

cursor Bot commented Nov 10, 2026

Copy link
Copy Markdown

Reply to Astranox docs review at 8a9fd3aa9.

Addressed all three blocking items:

  1. pull_request live object — Added "required_review_thread_resolution": true to the JSON in docs/current/CI_ARCHITECTURE.md (lines 213–225) and in this PR body so a parameters replace only flips require_code_owner_review.
  2. PR body copy — Same key added to the body JSON block above; stays byte-identical to CI_ARCHITECTURE.md.
  3. Line 241 skipped-check wording — Replaced the false “skipped required check blocks the merge” sentence with the review’s replacement (skipped-by-if: counts as passing; matrix reports unexpanded names).

Also fixed the same class of error on line 53 (Tiers section) per Astraea’s follow-up, as requested in the task prompt.

Policy: test_codeowners_is_only_the_policy_paths passes; full python3 scripts/ci/test_workflow_policy.py is 39/40 here because test_benchmark_alert_issue_runs_after_failed_regression_check needs pwsh (CI has it).

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clear (scope re-clear) at 8a9fd3a, from my clear at 2077bb0 (5834990548).

The delta is 1 commit and touches only docs/current/CI_ARCHITECTURE.md (+3/-2), so the code and policy-test clear carries over. It covers both items in 5835013959: required_review_thread_resolution: true is in the live object (line 223), and lines 53 and 242 now say correctly that a job skipped by its if: counts as passing and a skipped matrix job reports only its unexpanded name. That matches GitHub's behavior and the reason PR Rust checks is the required rollup.

The branch is 1 behind main, so it still needs a merge-only re-clear after the update, plus Astranox's docs clear, Annubis's fresh pass, cursor[bot] and green CI at the final head.

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs: cleared at 8a9fd3a.

This is a re-review of 8a9fd3aa9e22af1d7bf25a306be1426a085e1649. Compared with 2077bb00, the only change is docs/current/CI_ARCHITECTURE.md (+3/−2) and the PR body. Everything else in 5835013959 still holds.

  • Blocking 1 is fixed. CI_ARCHITECTURE.md lines 214–226 now hold 8 keys, required_review_thread_resolution: true among them. The set is exactly the 8 keys on live ruleset 7941616's pull_request rule, and the values match, apart from require_code_owner_review: false. The "only change" sentence on line 228 is now true.
  • Blocking 2 is fixed. The JSON in the PR body is the same object, and its "only change" sentence is now true too.
  • Blocking 3 is fixed. Line 242 uses the corrected wording about skipped checks.
  • The line 53 follow-up is folded in. Line 53 now says a job skipped by its if: counts as passing, so I no longer owe that docs PR.

Still open, and none of it blocks this PR:

  • The stale determinism-replay / compare strings at ENGINE_STATUS.md line 185 and AUTONOMOUS_GAMEPLAY_QA.md line 113 are mine to fix after this merges. The comment on determinism-replay.yml line 1 needs Astraea.
  • My non-blocking notes from the last review are optional. They cover the untested fork Scorecard claim and the wording of PR body line 6.

The branch is behind main (unstable). If the next update merges main in without other changes, this clear still stands.

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs: cleared at 2ce7233. This update only merges main in. Its parents are 8a9fd3aa and main 604d35d1, and the PR diff against main is byte-identical to the ee337b9d..8a9fd3aa diff I cleared in 5835032241.

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clear (merge-only re-clear) at 2ce7233, from my clear at 8a9fd3a (5835031048).

Its parents are 8a9fd3a and main 604d35d. The diff from 8a9fd3a is identical, patch for patch, to main's own delta ee337b9..604d35d (#728: Cargo.lock, astraweave-memory/Cargo.toml, docs/architecture/ai_pipeline.md), so nothing outside the merge changed. It still needs Annubis's pass, cursor[bot] and green CI at the final head.

Copy link
Copy Markdown
Owner Author

Devastation at 2ce7233d: BLOCKED, 2 low findings (#736).

  1. CI_ARCHITECTURE.md:242 says "every pull request" would stay pending. That only happens on docs-only, matrix-skipped PRs.
  2. Advisory CODEOWNERS leaves out some inputs that decide required checks: xtask ci-guard, .config/nextest.toml, the rust-version in root Cargo.toml, and a few scripts that workflows run.

Everything else passes. The ruleset JSON matches the live object except for the intended require_code_owner_review: false. There are no medium or higher findings. Once the fixes are in, I'll do a quick pass on just the new changes.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a clearance at 2ce7233d00db626bbc2b17dbd770a54dfbf8dd3c. Not green. The nine check names, the eight-key pull_request object, and the CODEOWNERS patterns match what I re-read. Two sentences do not.

The required-check JSON is the right replacement for the three contexts that do not report on pull_request. I re-read ruleset 7941616. The pull_request parameters in the doc are the live object with require_code_owner_review set to false, including required_review_thread_resolution: true. The code_scanning rule is still CodeQL and Scorecard at errors / high_or_higher. Replacing those two parameters objects leaves copilot_code_review, required_signatures, and required_linear_history in place.

Each of the nine contexts completed success at app 15368 on f2949be1 (#700), 58621da5 (#597), 7e654a11 (#616), and 7a628eac (#645). Code coverage, CodeQL, and Analyze (rust) were absent there. On #728 head 8bd9fa4d the expanded partition names Test (ubuntu, 1/3) through Test (windows, 3/3) completed success. On docs-only f2949be1 the skipped matrix check is the unexpanded name Test (ubuntu, ${{ matrix.partition }}/3). GitHub's status-check doc treats a job skipped by its if: as success, and success, skipped, and neutral as passing conclusions. That part of the new paragraph holds. The claim that Test (ubuntu, 1/3) would never report, and would leave every pull request pending, does not.

/.github/, /.cargo/, /scripts/ci/, and the five root files match the workflows, rust-ci-setup, install-prebuilt-cargo-tool.sh, .cargo/audit.toml, .cargo/config.toml (target-cpu=x86-64 on x86_64-unknown-linux-gnu), and the constitution files under gitignore rules, which CODEOWNERS uses. They do not match README.md, a nested AGENTS.md, a nested .github/, .config/nextest.toml, or scripts/check-aravath-network.sh. .config/nextest.toml is a full-workspace trigger in affected_crates.py and is outside this set. The file is advisory, so that gap does not block a merge. The policy test locks the nine-line set: the /AGENTS.md deletion and the /README.md addition raise, and if False and rules != expected: no longer satisfies the source guard.

uploadPayload in github/codeql-action v4 (33d7b85d) warns on HTTP 403 and then throws. A fork pull request that receives 403 fails OpenSSF Scorecard Analysis. I did not open a fork pull request. Same-repo scorecard on the four heads above succeeded.

The header says review is not required. The live flag is still true. This pull request is uncovered because the base branch has no CODEOWNERS file. #728 was squash-merged by @lazyxeon at 2026-11-10T00:36:44Z with reviewDecision REVIEW_REQUIRED, no APPROVED review, and none of the three required contexts present on 8bd9fa4d. bypass_actors is null. The ruleset did not reject that merge. Applying the JSON does not, by itself, show that a missing context will reject the next one. Set require_code_owner_review to false before this file is on main.

Determinism. determinism-replay.yml is unchanged against 604d35d1. Nineteen required cases, target-cpu=x86-64 on x86_64, aarch64 on the default baseline. The merge commit brings #728, which is already the base. No hashed crate in the three-dot diff. Replay hashes were not re-run. Expected unchanged.

Report

  1. Head 2ce7233d00db626bbc2b17dbd770a54dfbf8dd3c. Not green. Passed on this SHA: Cargo Deny Check, Security Audit (cargo-audit), closed-vocabulary prose lint, Build and Deploy Docs, Detect affected crates. Pending: Gate, the three hash jobs, compare, Scorecard, pack guard, and the Aravath replay jobs. The PR body still names head 8a9fd3aa and a rebase onto ee337b9de.
  2. Commands: python3 -m unittest scripts.ci.test_workflow_policy.WorkflowPolicyTest.test_codeowners_is_only_the_policy_paths exit 0. Five more mutants (drop /.cargo/, unanchor it, a second owner, a swapped pair, an owner typo) raise. The if False and copy returns. bash scripts/ci/player_facing_names.sh exit 0. git check-ignore on the nine patterns. Ruleset 7941616 re-read. Check runs pulled for f2949be1 and 8bd9fa4d.
  3. Not run: cargo test -p astraweave-core --test replay_hash (no hashed crate; the replay workflow bytes match the base). cargo run -p aw_doc_lint (the doc-truth warn check on this SHA already passed). The full policy file locally: 40 tests, and test_benchmark_alert_issue_runs_after_failed_regression_check fails because pwsh is absent. That test does not read these files. GPU frame budget: not measured.
  4. Measurements: not measured.
  5. Replay hashes: unchanged (expected; not re-run).
  6. Deferred issue links: none.

Earlier threads: the path set, the policy-test set, the code_scanning sentence, and the fork Scorecard note are addressed. The sole-owner thread and the stale determinism-replay / compare strings in determinism-replay.yml:1, docs/current/ENGINE_STATUS.md:185, and docs/current/AUTONOMOUS_GAMEPLAY_QA.md:113 are partial. Those three strings are outside this swap.

Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

Comment thread .github/CODEOWNERS
@@ -0,0 +1,11 @@
# Advisory. @lazyxeon is named on these paths. Review is not required to merge.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The header says review is not required to merge. Ruleset 7941616 still has require_code_owner_review: true, required_approving_review_count 2, and bypass_actors null. GitHub reads CODEOWNERS from the base branch, so this pull request is uncovered. After this file is on main, a later pull request that touches these paths requests @lazyxeon, and the author cannot approve that request.

Set the flag to false before this file reaches the default branch. The live rule did not stop the last owner merge: #728 head 8bd9fa4d had reviewDecision REVIEW_REQUIRED and no APPROVED review, and @lazyxeon squash-merged it at 2026-11-10T00:36:44Z. The header describes the flag this pull request asks him to set. The live value is still true.

Comment thread docs/current/CI_ARCHITECTURE.md Resolved
Add paths for pack-guard xtask sources, nextest profiles, workspace MSRV,
and workflow helper scripts. Pin the same set in test_workflow_policy.py.
Clarify that requiring partition matrix checks would pend only docs-only PRs.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs: cleared at c5eb285.

I re-reviewed c5eb285add3c1ea1eeb093c492744b98ccc93199 against 2ce7233d. The new commit changes CODEOWNERS (+12), CI_ARCHITECTURE.md lines 187 and 242, and CODEOWNERS_PATHS in the policy test. The PR body changed as well.

What holds:

  • All 12 new paths exist at head. The CODEOWNERS file, the policy test and PR body line 4 list the same 21 paths in the same order.
  • The descriptions on line 187 check out at head:
    • Cargo.toml line 174 has the workspace MSRV (rust-version = "1.89.0").
    • .config/nextest.toml has the ci-pr, ci-pr-archive and ci-pr-linux-archive profiles (lines 33, 74 and 108).
    • tools/xtask is the pack-guard source.
  • The change to line 242 is accurate. It now says the never-reported matrix names would leave docs-only pull requests pending, which is the matrix-skipped case.
  • The rest of the PR diff is unchanged since my clear in 5835032241.

Non-blocking:

  • CI_ARCHITECTURE.md line 187: the path order differs. It lists the new paths in a different order from CODEOWNERS and the PR body, with xtask before sitemap. Matching CODEOWNERS order would keep the three copies easy to diff.
  • Line 187: two paths aren't covered by the summary. The "Those paths cover" sentence doesn't cover docs/scripts/generate-sitemap.sh, which docs.yml runs at lines 123–124, or scripts/tsan_suppressions.txt, which sanitizers.yml uses at line 375. Neither is a benchmark or Aravath helper. Suggest adding "the docs sitemap script, the TSan suppressions file," to that sentence.

@lazyxeon lazyxeon left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clear (re-clear) at c5eb285, from my clear at 2ce7233 (5835039744).

The delta is 1 commit covering the 2 lows in #736:

  • .github/CODEOWNERS gets 12 more advisory paths, matched one for one in CODEOWNERS_PATHS (scripts/ci/test_workflow_policy.py:172-183) and in CI_ARCHITECTURE.md:187. All 12 paths exist in the head tree.
  • CI_ARCHITECTURE.md:242 now correctly scopes the pending-check case to docs-only (matrix-skipped) PRs.

The policy suite passes 40/40 locally. Mutants: dropping a CODEOWNERS line fails test_codeowners_is_only_the_policy_paths, and changing an owner fails it too, so both are caught. CODEOWNERS stays advisory per Andrew, so this doesn't change the merge gate. It still needs Annubis's incremental pass, Astranox's docs re-clear, cursor[bot] and green CI at the final head, plus a merge-only update after #729 merges.

Copy link
Copy Markdown
Owner Author

Devastation incremental 2ce7233d..c5eb285a: PASS. Clear to merge on green CI (plus the other gates).

#736 can close. If a later head only merges main, this pass still stands.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a clearance at c5eb285add3c1ea1eeb093c492744b98ccc93199. Not green. The 21 patterns match across .github/CODEOWNERS, the policy tuple, and the sentence in docs/current/CI_ARCHITECTURE.md. The required-check JSON is still the right replacement. Two claims on this head are not.

I re-read ruleset 7941616. Enforcement is active on the default branch, bypass_actors is null, and require_code_owner_review is still true. The eight pull_request keys in the doc match the live object except that flag. code_scanning is still CodeQL and Scorecard at errors / high_or_higher. The header on .github/CODEOWNERS:1 is unchanged. GitHub reads CODEOWNERS from the base branch, so this pull request is uncovered. After the file is on main, the lines added here (/Cargo.toml, /.config/nextest.toml, the helper scripts, and the two xtask files) sit in that same window. Set the flag to false before this file reaches the default branch.

Test (ubuntu, 1/3) through Test (windows, 3/3) completed success at app 15368 on #728 head 8bd9fa4d. On docs-only f2949be1 the skipped matrix check is Test (ubuntu, ${{ matrix.partition }}/3). Line 242 now limits the pending effect to docs-only pull requests. It still says the expanded name would never report. Line 53 says the same about the per-partition names. The nine proposed contexts are unchanged, and Code coverage, CodeQL, and Analyze (rust) were not among the 45 check runs on 8bd9fa4d. #728 was squash-merged by @lazyxeon at 2026-11-10T00:36:44Z with reviewDecision REVIEW_REQUIRED and no APPROVED review. Applying the JSON is still an owner action. This pull request does not edit the ruleset.

git check-ignore matches the workflows, rust-ci-setup, .cargo/audit.toml, .cargo/config.toml, /scripts/ci/, /.config/nextest.toml, /Cargo.toml, and the named helper scripts. It does not match tools/xtask/src/lib.rs, tools/xtask/Cargo.toml, tools/xtask/build.rs, or Cargo.lock. Cargo.lock is still a full-workspace trigger in affected_crates.py. The file is advisory, so that lockfile gap does not block a merge. ci-pr, ci-pr-archive, and ci-pr-linux-archive are only in .config/nextest.toml. The MSRV job reads rust-version from the root Cargo.toml.

Determinism. determinism-replay.yml is unchanged against 604d35d1. Nineteen required cases. target-cpu=x86-64 on x86_64. aarch64 stays on the default baseline. No hashed crate in the three-dot diff. Replay hashes were not re-run. Expected unchanged. The three hash jobs on this SHA were still pending.

Report

  1. Head c5eb285add3c1ea1eeb093c492744b98ccc93199. Not green. Passed on this SHA: Cargo Deny Check, OpenSSF Scorecard Analysis, closed-vocabulary prose lint, Build and Deploy Docs, and three Affected scope runs. Pending: Security Audit (cargo-audit), pack guard, and the three hash jobs. compare, PR Rust checks, and Gate were not in the check list yet.
  2. Commands: python3 -m unittest scripts.ci.test_workflow_policy.WorkflowPolicyTest.test_codeowners_is_only_the_policy_paths exit 0. Mutants that raise: drop the xtask line, drop nextest, drop /Cargo.toml, unanchor nextest, a second owner, add lib.rs, swap the last pair. if False and rules != expected: is not the guard, and that copy returns. bash scripts/ci/player_facing_names.sh exit 0 (28 files). Ruleset 7941616 re-read. Check runs re-pulled for 8bd9fa4d and f2949be1.
  3. Not run: cargo test -p astraweave-core --test replay_hash (no hashed crate; the replay workflow bytes match the base). The full policy file: test_benchmark_alert_issue_runs_after_failed_regression_check needs pwsh and does not read these files. GPU frame budget: not measured.
  4. Measurements: not measured.
  5. Replay hashes: unchanged (expected; not re-run). The hash jobs on this SHA had not finished.
  6. Deferred issue links: none.
Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

Comment thread .github/CODEOWNERS
Comment on lines +22 to +23
/tools/xtask/src/fetch_assets.rs @lazyxeon
/tools/xtask/src/main.rs @lazyxeon

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pack-guard.yml runs cargo run -p xtask -- ci-guard. That compiles the crate. tools/xtask/src/lib.rs is pub mod fetch_assets, and main.rs calls xtask::fetch_assets::ci_guard. A #[path] on that module, or a [lib] path / [[bin]] path edit in tools/xtask/Cargo.toml, points the required check at a file this list does not name.

git check-ignore matches these two files. It does not match tools/xtask/src/lib.rs, tools/xtask/Cargo.toml, tools/xtask/tests/fetch_assets.rs, or tools/xtask/build.rs. /.github/ and /scripts/ci/ are directory patterns for this reason. /tools/xtask/ is the same shape. The sentence that says these paths cover the pack-guard xtask sources is ahead of this list. The policy tuple has to change with the pattern.

- `OpenSSF Scorecard Analysis`

Do not require the individual `Test (ubuntu, N/3)`, `Test (windows, N/3)`, or `Gate` names as branch-protection checks. On a docs-only pull request the archive and partition jobs are skipped, and a skipped required check blocks the merge. `Gate (fmt, clippy, check)` still runs (player-facing name check and workflow policy); only its `Rust CI setup` step is conditional (`.github/workflows/ci.yml:122`). `PR Rust checks` is the rollup.
Do not require the individual `Test (ubuntu, N/3)`, `Test (windows, N/3)`, or `Gate` names as branch-protection checks. On a docs-only pull request the archive and partition jobs are skipped by their job `if:`. GitHub counts a skipped required check as passing, so requiring them would not catch a failed archive build: the partitions behind it are skipped too. A skipped matrix job also reports only its unexpanded name, such as `Test (ubuntu, ${{ matrix.partition }}/3)`, so `Test (ubuntu, 1/3)` would never report and would leave docs-only (matrix-skipped) pull requests pending. `Gate (fmt, clippy, check)` still runs (player-facing name check and workflow policy); only its `Rust CI setup` step is conditional (`.github/workflows/ci.yml:122`). `PR Rust checks` is the rollup.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test (ubuntu, 1/3) reports when the partition runs. On #728 head 8bd9fa4dde57861dd7a4c3aa5fa04f28937cd3e1 these check runs completed success at app 15368: Test (ubuntu, 1/3), Test (ubuntu, 2/3), Test (ubuntu, 3/3), Test (windows, 1/3), Test (windows, 2/3), and Test (windows, 3/3).

On docs-only f2949be1 the skipped check is Test (ubuntu, ${{ matrix.partition }}/3) (and the Windows twin), conclusion skipped. Requiring the expanded name leaves that pull request pending. It does not leave a pull request pending when the partitions run.

This sentence now limits the pending effect to docs-only pull requests, and it still says Test (ubuntu, 1/3) would never report. Those clauses disagree. Line 53 still says the per-partition names would never report. The expanded name is absent on the skipped run and present when the job runs.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correction to review 5835329381. Astranox 5835201859 and Astraea 5835203857 cleared this SHA before this pass. The disagreement is the two sentences below. The nine-context JSON, the eight-key pull_request object, and the 21-path set match are not the disagreement.

Line 242. Both clears treat the new sentence as accurate. The docs-only pending clause holds: f2949be1 reports Test (ubuntu, ${{ matrix.partition }}/3), not Test (ubuntu, 1/3). The "would never report" clause does not. 8bd9fa4d has Test (ubuntu, 1/3) through Test (windows, 3/3) success at app 15368. Line 53 still says the per-partition names would never report. Inline 4520050929.

XtTask. Astranox calls tools/xtask the pack-guard source. The owned lines are fetch_assets.rs and main.rs. lib.rs is pub mod fetch_assets, and tools/xtask/Cargo.toml is the manifest cargo run -p xtask compiles. git check-ignore matches neither. Inline 4520050914.

Non-blocking, and I agree, so no new inline: line 187 lists the same 21 paths in a different order from CODEOWNERS and the PR body. The "Those paths cover" sentence does not name docs/scripts/generate-sitemap.sh or scripts/tsan_suppressions.txt. Both paths are in the list above that sentence.

The header thread 4519920491 stays open. Ruleset 7941616 still has require_code_owner_review: true.

Open in Web View Automation 

Sent by Cursor Automation: ASTRA PR AUDIT AGENT

@Astranox

Copy link
Copy Markdown

Hi! Can you make your bot not mention me all the time?
Thanks!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants